const greeting = name => `hello ${name}`;
const x = 100;
exports.x = x;
module.exports.greeting = greeting;
//当exports对象和moudle.exports对象指向的不是同一个对象时以module。exports为准
module.exports = {
	name: 'tanjunlin'
}
//错误的写法
exports = {
	age: 20
}